Introduction | General Helpline Q&A Directory 

Deleting shared files

While uninstalling an application recently, I was given the option to remove several shared files. The uninstall program stated 'The system indicates that the following shared file is no longer used by any programs'. But if programs are indeed using the file, there may be problems. Should I or should I not delete these (formerly) shared files?

There's no simple answer to this question, but fortunately the likelihood of a disaster resulting is small. Windows keeps a counter in the Registry for each file that may be shared by multiple programs. When you install a program that uses that file, the counter goes up by one. When you uninstall a program, the counter goes down by one.

When an uninstall brings a file's counter to zero, you get the message which you described because Windows thinks you're removing the last program that uses the file. But Windows isn't always correct in its assumptions. Installs and uninstalls do not always progress smoothly, and it's possible for the counter to be wrong.

So what should you do? If you're worried about hard drive space, click 'Yes to all' and delete that shared file and any others the uninstall routine finds. The chances of a problem are slight and, if one does come up, reinstalling the first program that complains about the missing file should put the file back where it rightly belongs.

If you're not concerned about hard drive space, click 'No to all' and leave the files where they are. Beyond taking up some hard drive sectors, they won't do any harm.
 © 2002 PC Advisor